package com.trkj.pojos;

import java.io.Serializable;
import javax.persistence.*;
import java.math.BigDecimal;
import java.util.Date;


/**
 * The persistent class for the JL_ELECTRONICE_PRINT database table.
 * 
 */
@Entity
@Table(name="JL_ELECTRONICE_PRINT")
@NamedQuery(name="JlElectronicePrint.findAll", query="SELECT j FROM JlElectronicePrint j")
public class JlElectronicePrint implements Serializable {
	private static final long serialVersionUID = 1L;

	@Id
	@SequenceGenerator(allocationSize=1,name="JL_ELECTRONICE_PRINT_ERID_GENERATOR", sequenceName="SEQHIS")
	@GeneratedValue(strategy=GenerationType.SEQUENCE, generator="JL_ELECTRONICE_PRINT_ERID_GENERATOR")
	@Column(name="ER_ID")
	private long erId;//编号

	@Column(name="ADVICE_ID")
	private BigDecimal adviceId;//遗嘱编号

	@Column(name="CHECK_NY")
	private String checkNy;//是否检查

	@Temporal(TemporalType.DATE)
	@Column(name="ER_OPEN_TIME")
	private Date erOpenTime;//时间

	@Column(name="ER_PHYSICIAN")
	private String erPhysician;//医生

	@Column(name="IER_ID")
	private BigDecimal ierId;//卡号

	@Column(name="INPECTION_RESULT")
	private String inpectionResult;//就医结果

	@Column(name="RER_ID")
	private BigDecimal rerId;//缴费总额

	@Column(name="\"STATE\"")
	private String state;//取药状态

	public JlElectronicePrint() {
	}

	public long getErId() {
		return this.erId;
	}

	public void setErId(long erId) {
		this.erId = erId;
	}

	public BigDecimal getAdviceId() {
		return this.adviceId;
	}

	public void setAdviceId(BigDecimal adviceId) {
		this.adviceId = adviceId;
	}

	public String getCheckNy() {
		return this.checkNy;
	}

	public void setCheckNy(String checkNy) {
		this.checkNy = checkNy;
	}

	public Date getErOpenTime() {
		return this.erOpenTime;
	}

	public void setErOpenTime(Date erOpenTime) {
		this.erOpenTime = erOpenTime;
	}

	public String getErPhysician() {
		return this.erPhysician;
	}

	public void setErPhysician(String erPhysician) {
		this.erPhysician = erPhysician;
	}

	public BigDecimal getIerId() {
		return this.ierId;
	}

	public void setIerId(BigDecimal ierId) {
		this.ierId = ierId;
	}

	public String getInpectionResult() {
		return this.inpectionResult;
	}

	public void setInpectionResult(String inpectionResult) {
		this.inpectionResult = inpectionResult;
	}

	public BigDecimal getRerId() {
		return this.rerId;
	}

	public void setRerId(BigDecimal rerId) {
		this.rerId = rerId;
	}

	public String getState() {
		return this.state;
	}

	public void setState(String state) {
		this.state = state;
	}

}